package tech.bmatch.meituan.service;

import tech.bmatch.meituan.model.Dish;
import tech.bmatch.meituan.model.Merchant;
import tech.bmatch.meituan.model.MerchantSearchParam;

import java.util.List;

/**
 * @program: S1P1FinalProject
 * @description: 商家服务
 * @author: Awake
 * @create: 2018-10-03 10:33
 **/
public interface MerchantService {
    void init();

    void addMerchant(Merchant merchant);

    void addDish(Dish dish, String id);

    List<Dish> findDishesByMerchantId(String id);

    List<Merchant> search(MerchantSearchParam param);
}
